package snmyj.agile.tomcatcode.jmx;

import javax.management.*;

public class ConnectionNumber extends NotificationBroadcasterSupport implements ConnectionNumberMBean {

	public int getConnectionNumber() {
		return this.conNum;
	}

	public synchronized void setConnectionNumber(int con_Num) {

		this.conNum = con_Num;

		System.out.println("Connection number now " + this.conNum);
	}

	private int conNum = DEFAULT_CON_Num;
	private static final int DEFAULT_CON_Num = 20;
}
